// 引入vue
import Vue from "vue"
// 引入vuex
import Vuex from "vuex"
// 引入小仓库的核心
import actions from "./actions.js"
import mutations from "./mutations.js"
import state from "./state.js"
import getters from "./getters.js"
import modules from "./modules/index.js"
// 使用vuex
Vue.use(Vuex)
// 暴漏Store 并且在入口文件中引入
export default new Vuex.Store({
	actions,//总的actions
	mutations,//总的mutations
	state,//总的state
	getters,//总的getters
	modules
})